package fristphase.day02;

import java.util.Scanner;

public class 银行功能选择 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入操作指令：1.取款 2.存款 3.查询 0.退出");
        int flag = scanner.nextInt();
        switch (flag){
            case 1:
                System.out.println("取款");
                break;
            case 2:
                System.out.println("存款");
                break;
            case 3:
                System.out.println("查询");
                break;
            case 0:
                System.out.println("退出");
                break;
            default:
                System.out.println("请输入正确指令");
        }
    }
}
